﻿__author__ = 'wens'
#!/usr/bin/python
# -*- coding=utf-8 -*-
import urllib2
import urllib
import re
import gzip
import StringIO
import csv
import xlrd
import xlwt
import httplib
import requests


url = 'http://www.gdlr.gov.cn/newsAction.do?method=viewNews&classId=020010350000000680&newsId=020010040000205426'
request = urllib2.Request(url)
headers = requests.head(url).headers
print headers['location']

